home *** CD-ROM | disk | FTP | other *** search
/ The Atari Compendium / The Atari Compendium (Toad Computers) (1994).iso / files / internet / other / ka9q / nhclb120.zoo / makefile.ung < prev    next >
Encoding:
Makefile  |  1992-12-08  |  4.1 KB  |  133 lines

  1. #
  2. #    Makefile for KA9Q TCP/IP package for UNIX System V
  3. #
  4.  
  5. SHELL = /bin/sh
  6. TAR = tar
  7. LINT = lint
  8. INSTALL = /usr/local/bin
  9.  
  10. #
  11. # Add -DXOBBS to the CFLAGS line of choice if you wish to include the W2XO
  12. # PBBS code for sysV Unix... and add -DSID2 if you want a separate 
  13. # 'ax25 bbscall' callsign/ssid for the BBS port.
  14. #
  15.  
  16. #
  17. # Uncomment the next five lines for
  18. # Microport System V release 3 -- 80386 with shared libraries.
  19. ## SCO32 is for include files used by 3.2.2
  20. CFLAGS = -g -O -DUNIX -DSYS5 -DSCO32 -DSLOWCHECK -DLITTLE_ENDIAN \
  21.     -DMSPTICK=10
  22. LINTFLAGS = -g -O -DUNIX -DSYS5 -DSLOWCHECK -DLITTLE_ENDIAN \
  23.     -DMSPTICK=10
  24. LIBS = -lc_s -lmalloc
  25. CC=gcc
  26. ########################################################################
  27. #
  28. # Uncomment the next five lines for
  29. # Microport System V -- 80286 without shared libraries.
  30. #
  31. #CFLAGS = -g -Ml -O -DUNIX -DSYS5 -DSLOWCHECK -DMSPTICK=17
  32. #LINTFLAGS = -g -Ml -O -DUNIX -DSYS5 -DSLOWCHECK -DMSPTICK=17
  33. #LIBS = 
  34. ########################################################################
  35. #
  36. # Uncomment the next five lines for
  37. # Unix System V -- AT&T 3B2
  38. #
  39. #CFLAGS = -O -DUNIX -DSYS5 -DSLOWCHECK -DMSPTICK=10
  40. #LINTFLAGS = -O -DUNIX -DSYS5 -DSLOWCHECK -DMSPTICK=10
  41. #LIBS =
  42. ########################################################################
  43. #
  44. # Uncomment the next three lines for
  45. # Unix System V -- Motorola 680x0 
  46. #
  47. #CFLAGS = -g -DUNIX -DSYS5 -DSLOWCHECK -DMSPTICK=17 -DXOBBS -DSID2
  48. #LINTFLAGS = -DUNIX -DSYS5 -DSLOWCHECK -DMSPTICK=17 -DXOBBS -DSID2
  49. #LIBS =
  50. ########################################################################
  51. #
  52. # Uncomment the next four lines for
  53. # Sun OS 4.x, Sys V environment
  54. #
  55. #CFLAGS = -g -DUNIX -DSYS5 -DSLOWCHECK -DMSPTICK=17 -DSUNOS4
  56. #LINTFLAGS = -DUNIX -DSYS5 -DSLOWCHECK -DMSPTICK=17 -DSUNOS4
  57. #LINT = /usr/5bin/lint
  58. #LIBS = /usr/5lib/libc.a
  59. ########################################################################
  60. #
  61. # Uncomment the next three lines for
  62. # HP9000/500 - HP-UX 5.21 (not confident MSPTICK is correct!)
  63. #
  64. #CFLAGS =    -DUNIX -DSYS5 -DSLOWCHECK -DMSPTICK=17 -DXOBBS -DSID2
  65. #LINTFLAGS = -DUNIX -DSYS5 -DSLOWCHECK -DMSPTICK=17 -DXOBBS -DSID2
  66. #LIBS =
  67. ########################################################################
  68.  
  69.  
  70.  
  71.  
  72.  
  73.  
  74.  
  75.  
  76.  
  77.  
  78. SRCS =    main.c  arp.c arpcmd.c arpdump.c ax25.c ax25cmd.c \
  79.     ax25dump.c ax25subr.c ax25user.c ax_mbx.c bootp.c cmdparse.c \
  80.     domain.c daemon.c displayn.c\
  81.     files.c fingcli.c fingserv.c ftp.c ftpcli.c ftpserv.c icmp.c \
  82.     icmpcmd.c icmpdump.c icmpmsg.c iface.c ip.c ipcmd.c ipdump.c \
  83.     iproute.c kiss.c lapb.c lapbtime.c lcsum.c mbuf.c misc.c mulport.c \
  84.     ndir.c netuser.c nrcmd.c nrs.c nr3.c nrsubr.c nr4.c nr4subr.c \
  85.     nr4user.c nr4timer.c pathname.c rdate.c session.c \
  86.     slfp.c slhc.c slip.c smisc.c \
  87.     smtpcli.c smtpserv.c sys5_io.c sys5unix.c tcpcmd.c tcpdump.c \
  88.     tcpin.c tcpout.c tcpsubr.c tcptimer.c tcpuser.c telnet.c \
  89.     telunix.c timer.c tnserv.c trace.c ttydriv.c udp.c udpcmd.c \
  90.     udpdump.c version.c wildmat.c xfree.c
  91.  
  92. OBJS =    main.o   arp.o arpcmd.o arpdump.o ax25.o ax25cmd.o \
  93.     ax25dump.o ax25subr.o ax25user.o ax_mbx.o bootp.o cmdparse.o \
  94.     domain.o daemon.o displayn.o\
  95.     files.o fingcli.o fingserv.o ftp.o ftpcli.o ftpserv.o icmp.o \
  96.     icmpcmd.o icmpdump.o icmpmsg.o iface.o ip.o ipcmd.o ipdump.o \
  97.     iproute.o kiss.o lapb.o lapbtime.o lcsum.o mbuf.o misc.o mulport.o \
  98.     ndir.o netuser.o nrcmd.o nrs.o nr3.o nrsubr.o nr4.o nr4subr.o \
  99.     nr4user.o nr4timer.o pathname.o rdate.o session.o \
  100.     slfp.o slhc.o slip.o smisc.o \
  101.     smtpcli.o smtpserv.o sys5_io.o sys5unix.o tcpcmd.o tcpdump.o \
  102.     tcpin.o tcpout.o tcpsubr.o tcptimer.o tcpuser.o telnet.o \
  103.     telunix.o timer.o tnserv.o trace.o ttydriv.o udp.o udpcmd.o \
  104.     udpdump.o version.o wildmat.o xfree.o
  105.  
  106. net:    $(OBJS)
  107.     $(CC) $(CFLAGS) -o net.debug $(OBJS) $(LIBS)
  108.     cp net.debug net
  109.     strip net
  110.  
  111. lint:    $(SRCS)
  112.     rm -f *.ln
  113.     $(LINT) -c $(LINTFLAGS) $(SRCS) > lint.out 2>&1
  114.     $(LINT) $(LINTFLAGS) *.ln > lint2.out 2>&1
  115.     rm *.ln
  116.  
  117. depend: net.debug
  118.     chmod 755 mkdep
  119.     mkdep $(LINTFLAGS) $(SRCS) > depend.out
  120.  
  121. test_tick:    test_tick.c
  122.     $(CC) -o test_tick test_tick.c $(LIBS)
  123.  
  124. clean:
  125.     rm -f *.o *.ln lint.out lint2.out net net.debug test_tick
  126. tar:
  127.     $(TAR) cvf svnet.tar make* mkdep depend.out hosts.net ftpusers \
  128.         startup.net *.[hc] *.orig *.ori
  129.     compress -f svnet.tar
  130.  
  131. include depend.out
  132.  
  133.